package com.ktwlsoft.archivemanage.domain.dao.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Size;
import java.time.Year;

import java.time.Year;
import java.util.Date;

/**
 * unit_archive_manage--室藏档案管理
 *
 * @author zhuhe on 2019-10-24 14:19:44
 * @version 1.0
 */
@ApiModel("unit_archive_manage--室藏档案管理-UnitArchiveManage")
@Getter
@Setter
public class UnitArchiveManage extends BaseEntity {

    /**
     * 立档单位Id
     **/
    @ApiModelProperty("立档单位Id")
    private Long unitId;

    /**
     * 单位
     **/
    @ApiModelProperty("单位")
    @Size(max = 30, message = "单位参数超长")
    private String unitName;

    /**
     * 填表人
     **/
    @ApiModelProperty("填表人")
    @Size(max = 30, message = "填表人参数超长")
    private String writter;

    /**
     * 填表人Id
     **/
    @ApiModelProperty("填表人Id")
    private Long writterId;

    /**
     * 选择年度
     **/
    @ApiModelProperty("选择年度")
    private Year writeDate;

    /**
     * 对比确认(1:已对比,0:未对比)
     **/
    @ApiModelProperty("对比确认(1:是确认数据,0:非确认数据)")
    private Boolean compareConfirm = false;

    @ApiModelProperty("是否移交， 0：未移交，1：已移交")
    private Boolean transfered = false;

    @ApiModelProperty("是否有效，手动添加默认有效，当且仅当对比不通过才设为无效")
    private Boolean valid = true;

    @ApiModelProperty("移交操作人")
    private String transferOperator;

    @ApiModelProperty("移交操作人Id")
    private Long transferOperatorId;

    @ApiModelProperty("移交备注")
    private String transferRemark;
}
